package com.meixun.xuanke.user.service.impl;

import com.meixun.xuanke.user.dao.LoginLogDao;
import com.meixun.xuanke.user.model.LoginLog;
import com.meixun.xuanke.user.service.LoginLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LoginLogServiceImpl implements LoginLogService {

    @Resource
    LoginLogDao loginLogDao;


    @Override
    public void addLoginLog(LoginLog loginLog) {
        try {
            loginLogDao.addLoginLog(loginLog.getUserID() ,loginLog.getLoginIP(),loginLog.getLoginPort(),loginLog.getProxyIPPort(),loginLog.getLoginSource());

        }catch (Exception e){}
    }
}
